package com.hlhj.carview.bean;

/**
 * Created by Never Fear   on 2019\1\4 0004.
 * Never More....
 */

public class LoginBean {

    /**
     * code : 1
     * msg : 登录成功！
     * info : {"token":{"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9hZHZlcnRpc2VtZW50LmNvbVwvYXBpXC9tZW1iZXJcL2xvZ2luIiwiaWF0IjoxNTQ2NTA2MTgyLCJleHAiOjE1NDY1MzQ5ODIsIm5iZiI6MTU0NjUwNjE4MiwianRpIjoiM1htd2ZmTUl5Q2Q5czM5aiIsInN1YiI6NCwicHJ2IjoiYWZkMGZkOWJkZDlhYzcyZmYzOTgzNDFmMWQ2Mjg0MGNiZjRjNzE2NyJ9.tRcVD232b5v9GV6yaxkp1Vwh630ySe_45msosiz1OiY","token_type":"bearer","expires_in":28800},"member":{"id":4,"name":null,"nickname":null,"head_img":null,"sex":null,"phone":"17318940667","openid":null,"create_time":"2019-01-03 17:01:43","update_time":null}}
     */

    private int code;
    private String msg;
    private InfoBean info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * token : {"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9hZHZlcnRpc2VtZW50LmNvbVwvYXBpXC9tZW1iZXJcL2xvZ2luIiwiaWF0IjoxNTQ2NTA2MTgyLCJleHAiOjE1NDY1MzQ5ODIsIm5iZiI6MTU0NjUwNjE4MiwianRpIjoiM1htd2ZmTUl5Q2Q5czM5aiIsInN1YiI6NCwicHJ2IjoiYWZkMGZkOWJkZDlhYzcyZmYzOTgzNDFmMWQ2Mjg0MGNiZjRjNzE2NyJ9.tRcVD232b5v9GV6yaxkp1Vwh630ySe_45msosiz1OiY","token_type":"bearer","expires_in":28800}
         * member : {"id":4,"name":null,"nickname":null,"head_img":null,"sex":null,"phone":"17318940667","openid":null,"create_time":"2019-01-03 17:01:43","update_time":null}
         */

        private TokenBean token;
        private MemberBean member;

        public TokenBean getToken() {
            return token;
        }

        public void setToken(TokenBean token) {
            this.token = token;
        }

        public MemberBean getMember() {
            return member;
        }

        public void setMember(MemberBean member) {
            this.member = member;
        }

        public static class TokenBean {
            /**
             * access_token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9hZHZlcnRpc2VtZW50LmNvbVwvYXBpXC9tZW1iZXJcL2xvZ2luIiwiaWF0IjoxNTQ2NTA2MTgyLCJleHAiOjE1NDY1MzQ5ODIsIm5iZiI6MTU0NjUwNjE4MiwianRpIjoiM1htd2ZmTUl5Q2Q5czM5aiIsInN1YiI6NCwicHJ2IjoiYWZkMGZkOWJkZDlhYzcyZmYzOTgzNDFmMWQ2Mjg0MGNiZjRjNzE2NyJ9.tRcVD232b5v9GV6yaxkp1Vwh630ySe_45msosiz1OiY
             * token_type : bearer
             * expires_in : 28800
             */

            private String access_token;
            private String token_type;
            private int expires_in;

            public String getAccess_token() {
                return access_token;
            }

            public void setAccess_token(String access_token) {
                this.access_token = access_token;
            }

            public String getToken_type() {
                return token_type;
            }

            public void setToken_type(String token_type) {
                this.token_type = token_type;
            }

            public int getExpires_in() {
                return expires_in;
            }

            public void setExpires_in(int expires_in) {
                this.expires_in = expires_in;
            }
        }

        public static class MemberBean {
            /**
             * id : 4
             * name : null
             * nickname : null
             * head_img : null
             * sex : null
             * phone : 17318940667
             * openid : null
             * create_time : 2019-01-03 17:01:43
             * update_time : null
             */

            private int id;
            private String name;
            private String nickname;
            private String head_img;
            private String sex;
            private String phone;
            private String openid;
            private String create_time;
            private String update_time;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getHead_img() {
                return head_img;
            }

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getOpenid() {
                return openid;
            }

            public void setOpenid(String openid) {
                this.openid = openid;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }
        }
    }
}
